package com.fpd.model.ro;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class PostBaseInfo extends PageRO {

	private static final long serialVersionUID = -2412310734075256817L;


	@ApiModelProperty(value = "当前用户ID", hidden = false)
	private String id;

	@ApiModelProperty(value = "批次日期", example = "")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	@ApiModelProperty(value = "发函开始时间", example = "")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTimeBegin;

	@ApiModelProperty(value = "发函结束时间", example = "")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTimeEnd;
	
	private String downLoadTime;//下载时间
	
	private String loadTimeBegin; //下载开始时间
	
	private String loadTimeEnd; //下载结束时间

	@ApiModelProperty(value = "", hidden = true)
	private Date updateTime;

	@ApiModelProperty(value = "快件号", example = "")
	private String billNo;

	@ApiModelProperty(value = "合同号", example = "")
	private String contractNumber;

	private String distributionNumber;// 配货单号（对应EMS系统中"邮件数据唯一标识bigAccountDataId"字段）

	private String custOrderNumber;// 客户订单号

	private String senderName;

	private String senderPhone;

	private String senderPhone2;

	private String senderAddress;

	private String senderCompany;

	private String senderProvince;

	private String senderCity;

	private String senderCounty;

	private String senderPostcode;

	@ApiModelProperty(value = "收件人姓名(支持模糊查询)", example = "")
	private String receiveName;

	@ApiModelProperty(value = "收件人电话(支持模糊查询)", example = "")
	private String receivePhone;

	private String receivePhone2;

	private String receiveAddress;

	private String receiveCompany;

	private String receivePostcode;

	private String receiveProvince;// 邮件接收者省份信息

	private String receiveCity;// 邮件接收者城市信息

	private String receiveCounty;

	private String region;// 身份所属区域

	@ApiModelProperty(value = "客户号(支持模糊查询)", example = "")
	private String custNo;

	@ApiModelProperty(value = "客服ID", example = "", hidden = false)
	private String sendUserId;

	@ApiModelProperty(value = "客服名称", example = "", hidden = false)
	private String truename;

	private String filePath;

	@ApiModelProperty(value = "是否已下载（0：未下载；1：已下载）", example = "")
	private Integer isDownload;

	@ApiModelProperty(value = "委托方名称", example = "")
	private String entrustName;

	@ApiModelProperty(value = "一级分类状态码", hidden = true, example = "")
	private String code;

	@ApiModelProperty(value = "二级分类状态码", hidden = true, example = "")
	private String code2;

	@ApiModelProperty(value = "一级分类状态码描述", hidden = true, example = "")
	private String codeDesc;

	@ApiModelProperty(value = "二级分类状态码描述", hidden = true, example = "")
	private String code2Desc;

	@ApiModelProperty(value = "退回原因状态码", hidden = true, example = "")
	private String returnCode;

	@ApiModelProperty(value = "退回原因状态码描述", hidden = true, example = "")
	private String returnCodeDesc;

	@ApiModelProperty(value = "第二联系人类型（1：父亲；2：配偶；3：母亲；4：兄弟姐妹；5：其他亲属；6：姐妹；7：子女；8：朋友；9：同事）", hidden = true, example = "")
	private int secondLinkType;

	@ApiModelProperty(value = "邮件状态情况（0：整体情况；1：签收情况；2：退回情况；3：运输情况）", example = "1")
	private String signSituation;

	@ApiModelProperty(value = "查询情况（0：整体情况；1：按省市情况查看）", example = "1")
	private String provinceSituation;

	@ApiModelProperty(value = "查询情况（0：整体情况；1：按按各年龄段查看数量；2：按各年龄段查看比率）", example = "1")
	private String loanTypeSituation;

	@ApiModelProperty(value = "查询情况（1：第二联系人来电占比情况；2：第二联系人各年龄段排序情况）", example = "1")
	private String secondSituation;

	@ApiModelProperty(value = "查询情况（1：按地区分布查看；2：按城乡查看）", example = "1")
	private String addressSituation;

	@ApiModelProperty(value = "查询情况（1：切换省查看；2：切换市查看；3：切换地区查看）", example = "1")
	private String addressTypeSituation;


	@ApiModelProperty(value = "委案（批次）日期", example = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date beginTimeCase;


	@ApiModelProperty(value = "委案（批次）日期开始", example = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date beginTimeCaseBegin;

	@ApiModelProperty(value = "委案（批次）日期结束", example = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date beginTimeCaseEnd;

	@ApiModelProperty(value = "组长审核状态（0：未审核；1：已通过 2 驳回）", hidden = false, example = "")
	private int checkState;

	@ApiModelProperty(value = "年龄段(1:18~25岁，2：26~35岁，3：36~45岁，4：46岁及以上)", example = "", hidden = false)
	private int agePart;

	@ApiModelProperty(value = "逾期天数", example = "", hidden = true)
	private int yuqiDay;

	@ApiModelProperty(value = "逾期天数开始", example = "", hidden = false)
	private int yuqiDayBegin;

	@ApiModelProperty(value = "逾期天数结束", example = "", hidden = false)
	private int yuqiDayEnd;

	@ApiModelProperty(value = "逾期金额", example = "", hidden = true)
	private BigDecimal yuqiAmount;

	@ApiModelProperty(value = "逾期金额开始", example = "", hidden = false)
	private BigDecimal yuqiAmountBegin;

	@ApiModelProperty(value = "逾期金额结束", example = "", hidden = false)
	private BigDecimal yuqiAmountEnd;

	@ApiModelProperty(value = "移交EMS函件数量", example = "", hidden = false)
	private int emsCount;

	@ApiModelProperty(value = "下载函件数量", example = "", hidden = false)
	private int downLoadCount;

	@ApiModelProperty(value = "组ID", example = "", hidden = false)
	private String groupId;

	@ApiModelProperty(value = "组名称", example = "", hidden = false)
	private String groupName;

	@ApiModelProperty(value = "留案状态(0：默认，1：审核中)", example = "", hidden = false)
	private String leaveState;

	@ApiModelProperty(value = "留案次数", example = "", hidden = false)
	private String leaveCount;

	@ApiModelProperty(value = "贷款类型（1：信用分期(以身份证贷款)；2：信用分期；3：实体店商品分期；4：随借随还贷；5：虚拟信用卡；6：网上商品分期）", example = "", hidden = false)
	private String loanType;

	@ApiModelProperty(value = "地址类型（1：城市；2：乡村）", example = "", hidden = false)
	private String addressType;

	@ApiModelProperty(value = "帐龄段(0：0天；1: 0-1年；2：1-2年；3：2-3年；4：3年以上)", example = "", hidden = false)
	private int aging;

	//第二联系人关系
	private String secondRelation;

	//第二联系人姓名
	private String secondName;

	//第二联系人手机号
	private String secondPhone;

	@ApiModelProperty(value = "审核通过ID列表，使用-拼接")
	private List<String> idList;

	//新增
	@ApiModelProperty(value = "当前用户职位", example = "")
	private Integer currentUserPosition;

	@ApiModelProperty(value = "当前用户ID", example = "")
	private String currentUserId;

	//操作类型，ok为同意  no为驳回
	private String type;

    //查看类型 1代表未审核，2代表已审核 3代表驳回
    private String operType;
    
    //函件类型 1代表 普通件  2代表密保件
    private String letterType;
    
    //撤销状态 1为撤销 默认0
    private String cancelStatus; 
    
    private String leaveType;
    
    private String caseId;//逾期天数最大案件id
    
    private String productName;//产品名称
    
    private String addressType2;//发函地址类型
}